package com.guigu.guliorder.entity.pojo;


import com.guigu.guliorder.entity.OmsOrder;
import com.guigu.guliorder.entity.OmsOrderItem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * 创建的订单的实体类
 *
 * @author 陈俊杰
 * @version 1.0
 * @since 2024/9/24 20:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class CreatOrderPoJo {
    /**
     * 订单信息
     */
    private OmsOrder order;
    /**
     * 订单项信息
     */
    private List<OmsOrderItem> orderItems;
    /**
     * 订单应付金额
     */
    private BigDecimal payPrice;
    /**
     * 运费金额
     */
    private BigDecimal fare;
}
